<{if $product.udfimg == 'true'}>
<{assign var="gimage" value=$product.thumbnail_pic}>
<{else}>
 <{assign var="gimage" value=$product.image_default_id|default:$defaultImage}>
<{/if}>
<{if count($product.spec_desc_info)>1}>
<li  style="z-index:<{$zindex}>" >
<a href="<{link app=b2c ctl=site_cart act=addToCart arg0=goods arg1=$product.goods_id arg2=$item.product_id arg3='1' }>" type="g" buy="<{$product.goods_id}>" class="bulebtn    buy-select  hasSpec" <{if $setting.buytarget == 2}> target="_blank_cart"<{elseif $setting.buytarget == 3}> <{/if}> title="<{t}>加入购物车<{/t}>" rel="nofollow" ><i class="has-icon"> <img src='<{$env.app.res_url}>/bundle/shop_icon.gif' /></i><span><{t}>加入购物车<{/t}></span></a>
<{if $showtextbuy}><a class='lnk'><{t}>加入购物车<{/t}></a> <{/if}>

<!--<div class="buy-select-list" style="display:none">
	<h3 style="white-space:nowrap; word-break:keep-all;"><{if count($product.spec_desc_info) == 0}><{t}>该商品暂时无货<{/t}><{else}><{t}>请选择规格<{/t}><{/if}></h3>
	<table border="0" cellspacing="0" cellpadding="0">
	<{foreach from=$product.spec_desc_info item=item}>
	  <tr>
		<td width="100" nowrap="nowrap"><{$item.spec_info}></td>
		<td width="50"><span class="fontcolorRed fontbold"><{$item.price|cur_odr:$order.currency}></span></td>
		<td width="50" align="center" style="vertical-align:middle" nowrap="nowrap">
		<{if $addcart_disabled != 1}>
			<{if $item.store === null || $item.store - intval($item.freez) > 0}>
		  <a type="g" href="<{link app=b2c ctl=site_cart act=addToCart arg0=goods arg1=$product.goods_id arg2=$item.product_id arg3='1'}>" buy="<{$product.goods_id}>" product="<{$product_id}>"<{if $setting.buytarget == 2}> target="_blank_cart"<{elseif $setting.buytarget == 3}> target="_dialog_minicart"<{/if}> title="<{t}>加入购物车<{/t}>" rel="nofollow" class="btnbuy"><{t}>购买<{/t}></a>

		  <{else}>
		  <a type="g" href="<{link app=b2c ctl=site_product act=gnotify arg0=$product.goods_id arg1=$product_id}>" rel="nofollow" class="btnbuy" title="<{t}>缺货登记<{/t}>"><{t}>缺货<{/t}></a>
	<{/if}>

		<{/if}>
		</td>
	  </tr>
	<{/foreach}>
	</table>
</div> -->
<{else}>
  <{if $addcart_disabled != 1}>

<{foreach from=$product.spec_desc_info key=key item=item}>
   <{if $product[nostore_sell] || $item.store === null || $item.store - intval($item.freez) > 0}>
    <li>
   <a href="<{link app=b2c ctl=site_cart act=addToCart arg0=goods arg1=$product.goods_id arg2=$item.product_id arg3='1' }>" type="g" buy="<{$product.goods_id}>" class="bulebtn listact" <{if $setting.buytarget == 2}> target="_blank_cart"<{elseif $setting.buytarget == 3}> target="_dialog_minicart"<{/if}> title="<{t}>加入购物车<{/t}>" rel="nofollow" ><i class="has-icon"> <img src='<{$env.app.res_url}>/bundle/shop_icon.gif' /></i><span><{t}>加入购物车<{/t}></span></a>
    </li>
          <{else}>
			<li>
     <a type="g" href="<{link app=b2c ctl=site_product act=gnotify arg0=$product.goods_id arg1=$product_id}>" rel="nofollow" class="btn-a listact" title="<{t}>缺货登记<{/t}>"><i class="has-icon"> <img src='<{$env.app.res_url}>/bundle/shop_icon_.gif' /></i><span style=" padding:0 20px 0 15px; color:#333" ><{t}>缺&nbsp;&nbsp;货<{/t}></span></a>

    </li>
<{/if}>

<{break;}>
<{/foreach}>


  <{/if}>
<{/if}>
</li>
<{if $product.promotions && ($product.promotions >0) }>
    <li <{if $login!="nologin"}>star="<{$product.goods_id}>"<{/if}>
         title="<{$product.name|escape:html}>" class="star-off">
         <a  <{if $login=="nologin"}> href="<{link app=b2c ctl="site_passport" act="login"}>"
             <{else}>href="#" onclick="return false;"
             <{/if}>
         class="listact" title="<{t}>促销优惠<{/t}>" rel="nofollow"><{t}>促销优惠<{/t}></a>
    </li>
<{/if}>
<li <{if $login!="nologin"}>star="<{$product.goods_id}>"  <{/if}> title="加入收藏" class="star-off">
<a  <{if $login=="nologin"}> href="<{link app="b2c" ctl="site_passport" act="login"}>" <{else}>href="javascript:void(0)" <{/if}> class="btn-a"  rel="nofollow" ><i class="has-icon"> <{img src='bundle/collect_icon.gif' app="b2c" }></i><span><div class="fav"><{t}>收藏<{/t}></div><div class="nofav"><{t}>已收藏<{/t}></div></span></a>
</li>
<{if !$member}><li class="vdetail zoom"><a title="点击查看大图" href="<{link app=b2c ctl=site_product act=index arg0=$product.goods_id}>" pic="<{$gimage|storager:'l'}>" target="_blank" class="listact" title="<{t}>查看详细<{/t}>"><!--<{t}>查看详细<{/t}>--></a></li><{/if}>

